const AipBodyAnalysisClient = require('baidu-aip-sdk').bodyAnalysis;
const AipImageProcessClient = require('baidu-aip-sdk').imageprocess;

// 设置APPID/AK/SK
const APP_ID1 = '72728609';
const API_KEY1 = 'u16EzZSoYiXfcajqypNKaPOh';
const SECRET_KEY1 = 'JhCZWDgdHrHtAidfW2XUgpVUn3KISHpe';

// 新建一个对象，建议只保存一个对象调用服务接口
const client1 = new AipBodyAnalysisClient(APP_ID1, API_KEY1, SECRET_KEY1);



// 设置APPID/AK/SK
const APP_ID = '72679963';
const API_KEY = 'dv4zJBbyRvTemmcpmwpT7qV7';
const SECRET_KEY = '1plYWaTWX9NvmZX8HGhtnD3w9UFR6mqz';

// 新建一个对象，建议只保存一个对象调用服务接口
const client = new AipImageProcessClient(APP_ID, API_KEY, SECRET_KEY);

module.exports = {
	bodyAnalysis: client1,
	imageProcess: client
};